interface User {
  id: number;
  username: string;
  email: string;
  nickname: string;
  role: number;
  avatar?: string;
}

interface EditUser {
  id: number;
  email: string;
  nickname: string;
  role: number;
  password?: string;
  avatar?: string;
}

interface PasswordUpdate {
  oldPassword: string;
  newPassword: string;
}

export type { EditUser, User,PasswordUpdate };

